package com.cloudbroker.bcs.platform.dav.middle.service;


import java.util.List;

import com.cloudbroker.bcs.common.model.Pagination;
import com.cloudbroker.bcs.common.service.base.ServiceBase;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.plugs.result.ExtendAppBuyedListData;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.plugs.result.ExtendAppWithPlugsResult;
import com.cloudbroker.bcs.platform.dav.bizapi.service.business.plugs.vo.ExtendAppBuyedListDbForm;
import com.cloudbroker.bcs.platform.dav.middle.entity.ExtendApp;
import com.cloudbroker.bcs.platform.dav.middle.entity.ExtendAppGroup;

/**
 * 
 * @author fang
 *
 */
public interface ExtendAppService extends ServiceBase<ExtendApp, String>{

	public List<ExtendAppBuyedListData> listWithPlugs(ExtendAppBuyedListDbForm form,Pagination page);
	public Integer listCountWithPlugs(ExtendAppBuyedListDbForm form);
	public void deleteByCondition(String key,Integer tenant_id);
	public Long getMaxSort(ExtendApp form);
	public void deleteAll();
	public ExtendAppWithPlugsResult getAppPropById(ExtendAppGroup extendAppGroup);
}
